/**
 * 
 */
package de.cbf.cam.dsa.model.entities.states.stateChanger;

import java.util.ArrayList;
import java.util.List;

import de.cbf.cam.dsa.model.entities.BattleChar;
import de.cbf.cam.dsa.model.entities.OneNPC;
import de.cbf.cam.dsa.model.entities.states.OneState;

/**
 * @author Nebelritter
 *
 */
public class StateChangerState extends StateChangerBase {
	
	/**
	 * @uml.property  name="states"
	 * @uml.associationEnd  multiplicity="(0 -1)" elementType="de.cbf.cam.dsa.model.entities.states.OneState"
	 */
	private List<OneState> states = new ArrayList<OneState>();
	
//========================
//		constructors
//========================


//========================
//	   public methods
//========================
	
	
	public StateChangerState(List<OneState> states) {
		super();
		this.states = states;
	}

	@Override
	public void changeState(OneNPC character) {		
	}
	
	@Override
	public void changeStateBattle(BattleChar character) {
		for(int i=0;i<states.size();i++){
			character.addState(states.get(i));
		}
	}

	public List<OneState> getStates() {
		return states;
	}

	public void setStates(List<OneState> states) {
		this.states = states;
	}

//========================
//    standard methods
//========================

//========================
// 	   private methods
//========================

//========================
// 	SHORT property access
//========================

//========================
//		getters
//========================

//========================
//		setters
//========================

//========================
//		listeners
//========================

}
